package com.zlsy.springbootdemo.synchronizedtest;

import java.util.LinkedHashMap;

/**
 * @author zhouliang
 * @date 2021/1/26 14:43
 */
public class SynchronizedTest {
  private int test(int a, int b) {
    synchronized (SynchronizedTest.class) {
      LinkedHashMap linkedHashMap = new LinkedHashMap();
      return a + b;
    }
  }
}
